<template>
  <div class="app-container">
    <div class="container-card">
      <a-button @click="handleToUserDetail">跳转到用户详情</a-button>
    </div>
  </div>
</template>

<script>
import { useRouter } from "vue-router";
export default {
  props: {},
  components: {},
  setup() {
    const _router = useRouter();
    const handleToUserDetail = () => {
      _router.push({
        path: "/user/detail",
      });
    };
    return {
      handleToUserDetail,
    };
  },
};
</script>

<style lang="less"></style>

<style lang="less" scoped></style>
